package vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@Entity
@NamedQueries({ 
	@NamedQuery(name = "QQ.findAll", query = "select e from QQ e"),
	@NamedQuery(name = "QQ.findBySourceId", query = "select e from QQ e where sourceId=?")})
@Table(name = "qq")
public class QQ extends BaseEntity {

//	@Column(name = "name")
//	private String name;

	@Column(name = "userName")
	private String userName;

	@Column(name = "password")
	private String password;


	// @Column(name = "qqnum")
	// private String qqNum;

//	@Column(name = "qqpasswd")
//	private String qqPSW;

	@Column(name = "source_id")
	private int sourceId;


	public int getSourceId() {
		return sourceId;
	}

	public void setSourceId(int sourceId) {
		this.sourceId = sourceId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
